/*
 *    Copyright (c) 2018-2025, fanxl All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: fanxl (wangiegie@gmail.com)
 */

package com.snow4cloud.common.model.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 职工管理
 *
 * @author fanxl
 * @date 2021-04-02 15:09:19
 */
@Data
@TableName("tj_workers")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "职工管理")
public class Workers extends Model<Workers> {
private static final long serialVersionUID = 1L;

    /**
     * 职工ID
     */
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value="职工ID")
    private String id;
    /**
     * 科室ID
     */
    @ApiModelProperty(value="科室ID")
    private String deptId;
    /**
     * 科室名称
     */
    @ApiModelProperty(value="科室名称")
    private String deptName;
    /**
     * 职工简码
     */
    @ApiModelProperty(value="职工简码")
    private String workerCode;
    /**
     * 职工姓名
     */
    @ApiModelProperty(value="职工姓名")
    private String workerName;
    /**
     * 职工性别
     */
    @ApiModelProperty(value="职工性别")
    private String sex;
    /**
     * 职工生日
     */
    @ApiModelProperty(value="职工生日")
    private LocalDateTime birthday;
    /**
     * 籍贯
     */
    @ApiModelProperty(value="籍贯")
    private String nativePlace;
    /**
     * 民族
     */
    @ApiModelProperty(value="民族")
    private String national;
    /**
     * 婚姻状况
     */
    @ApiModelProperty(value="婚姻状况")
    private String maritalStatus;
    /**
     * 删除标识(1有效数据，0无效数据)
     */
    @ApiModelProperty(value="删除标识(1有效数据，0无效数据)")
    private String flag;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createDate;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime modifyDate;
    /**
     * 员工编号(接口用)
     */
    @ApiModelProperty(value="员工编号(接口用)")
    private String workerNo;
    /**
     * 员工ID(接口用)
     */
    @ApiModelProperty(value="员工ID(接口用)")
    private String workerId;
    /**
     * 员工类型
     */
    @ApiModelProperty(value="员工类型")
    private String workerType;
    /**
     * 备选科室1
     */
    @ApiModelProperty(value="备选科室1")
    private String deptId1;
    /**
     * 备选科室2
     */
    @ApiModelProperty(value="备选科室2")
    private String deptId2;
    /**
     * 处方权
     */
    @ApiModelProperty(value="处方权")
    private String chufang;
    }
